<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@include file="/sunzbase.jsp"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>我的桌面</title>
</head>
<body>
<div class="page-container">
	<p class="f-20 text-success">欢迎使用天遥笔记！</p>
	<p>登录次数：${loginInfo.loginNumber } </p>
	<p>登录IP：${loginInfo.lastLoginIp }  &nbsp;&nbsp;登录时间：<fmt:formatDate value="${loginInfo.lastLoginTime }" type="Both"/></p>
	<table class="table table-border table-bordered table-bg">
		<thead>
			<tr>
				<th colspan="7" scope="col">信息统计</th>
			</tr>
			<tr class="text-c">
				<th>统计</th>
				<th>笔记</th>
				<th>分类</th>
			</tr>
		</thead>
		<tbody>
			<tr class="text-c">
				<td>总数</td>
				<td>${notes.notesNum}</td>
				<td>${tags.tagsNum}</td>
			</tr>
			<tr class="text-c">
				<td>今日</td>
				<td>${notes.todayNote}</td>
				<td>${tags.todayTag}</td>
			</tr>
			<tr class="text-c">
				<td>昨日</td>
				<td>${notes.yesterdayNote}</td>
				<td>${tags.yesterdayTag}</td>
			</tr>
			<tr class="text-c">
				<td>本周</td>
				<td>${notes.weekNote}</td>
				<td>${tags.weekTag}</td>
			</tr>
			<tr class="text-c">
				<td>本月</td>
				<td>${notes.monthNote}</td>
				<td>${tags.monthTag}</td>
			</tr>
		</tbody>
	</table>	
</div>
<footer class="footer mt-20">
	<div class="container">
		<p>感谢使用！本系统由<a href="http://www.tianyaouav.com/" target="_blank" title="天遥航空">天遥航空</a>提供技术支持</p>
	</div>
</footer>
</body>
</html>